package com.xtaller.common.bean;

/**
 * @author Taller
 * @create 2018-04-13 17:28
 */
public class AuthInfo {
    private String appSecret;
    private String appId;
    private int platform;           // 平台 1android 2ios 3pc 4webapp 5other
    private String id;              // 用户id
    private String module;          // 子系统模块

    public AuthInfo(int platform){
        new AuthInfo(platform, "", "", "");
    }
    public AuthInfo(int platform, String appId, String appSecret, String module){
        this.platform = platform;
        this.appSecret = appSecret;
        this.appId = appId;
        this.module = module;
    }

    public String getModule() {
        return module;
    }

    public void setModule(String module) {
        this.module = module;
    }

    public String getAppSecret() {
        return appSecret;
    }

    public void setAppSecret(String appSecret) {
        this.appSecret = appSecret;
    }

    public String getAppId() {
        return appId;
    }

    public void setAppId(String appId) {
        this.appId = appId;
    }

    public int getPlatform() {
        return platform;
    }

    public void setPlatform(int platform) {
        this.platform = platform;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }
}
